/*
 * @Author: liu.lin liu.lin@hzleaper.com
 * @Date: 2023-11-23 11:34:41
 * @LastEditors: liu.lin liu.lin@hzleaper.com
 * @LastEditTime: 2023-11-24 10:58:15
 * @FilePath: \aoi_link_frontend\src\api\fpy-analyse-detail\index.type.tsx
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface SearchType {
  searchType: DetailSearchType;
  lotId: string;
  searchKey: SearchKeyType;
  site?: SiteType;
  station?: StationType;
  classId?: number;
  pageSize: number;
  pageNum: number;
}

export interface ExportType {
  searchType: DetailSearchType;
  lotId: string;
  searchKey: SearchKeyType;
  site?: SiteType;
  station?: StationType;
  classId?: number;
}

enum SearchKeyType {
  check_count = 'check_count', //检测量
  ok_count = 'ok_count', //ok量
  fin_ok_count = 'fin_ok_count', //最终ok量
  miss_count = 'miss_count', //漏检量
  over_count = 'over_count' //过检量
}

enum DetailSearchType {
  detail = 'detail',
  summury = 'summury'
}

enum SiteType {
  Pol = 'Pol',
  偏贴后 = '偏贴后',
  未指定 = '未指定'
}

enum StationType {
  上反 = '上反',
  下反 = '下反',
  透射 = '透射'
}
